package cn.zebra.dev.product.moudle.brand.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 商品品牌表
 *
 * @author runnable
 */
@TableName("brand")
@Getter
@Setter
public class BrandEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("商品品牌名")
    private String brandName;

    @ApiModelProperty("商品品牌信息")
    private String brandMessage;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("品牌所属分类")
    private Long brandCategoryId;

    @ApiModelProperty("是否删除")
    private boolean deleteFlag;
}
